package com.whz.workmanageol.dao;

import com.whz.workmanageol.entity.Admin;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface AdminMapper extends Mapper<Admin> {
    @Update("update admin set email = #{email} where id = #{id}")
    void updateEmailByID(String id, String email);

    @Update("update admin set tel = #{tel} where id = #{id}")
    void updateTelByID(String id, String tel);

    @Update("update admin set password = #{password} where id = #{id}")
    void updatePasswordByID(String id, String password);
}
